package github.leavesczy.compose_tetris.platform

import androidx.compose.ui.graphics.Canvas
import github.leavesczy.compose_tetris.common.logic.Location
import github.leavesczy.compose_tetris.common.logic.SoundPlayer
import github.leavesczy.compose_tetris.common.logic.SoundType

private val IosSoundPlayer = object : SoundPlayer {

    override fun play(soundType: SoundType) {
    }

    override fun release() {

    }

}
actual fun getScreenSize(): Location {
    return Location(x = 12, y = 25)
}

actual fun getSoundPlayer(): SoundPlayer {
    return  IosSoundPlayer
}

actual fun Canvas.drawText(
    text: String,
    color: Int,
    fontSize: Float,
    strokeWidth: Float,
    x: Float,
    y: Float
) {

}